Repository navigation
chore(platform): release 2.4.5 (MCP audit-record fix) - #123
Merged
Merged
Conversation
…udit records The shared JsonFormatter only kept a 0 value for a few keys, so a denied or failed tools/call (response_bytes=0) logged its audit record without response_bytes, and request_bytes vanished for empty arguments. The native MCP audit record requires both fields on every tools/call, including denials. Found by the live S-73 audit test: the denied record it read had no response_bytes. The new contract test fails before the fix. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
`kubectl logs deploy/<release>-mcp-<backend>` reads one pod, so with the HA default (2 replicas) the test could miss its own call and assert on another test's record. Read all pods by selector (--tail=-1, since -l defaults to 10 lines) and require the audit metadata on every tools_call record for the tool in the window, denied ones included. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Chart version/appVersion, first-party image tags and Zelkor FROM bases go to 2.4.5 for the tools_call audit-record fix (zero request/response byte counts kept on denied and failed calls). Example charts re-vendor zelkor-agent 2.4.5. No third-party pin changes. Production digests follow after the push. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
🚀 Deploying Preview to Cloudflare 🚀Preview Deployments by commit
|
Upstream removed the unprefixed `0.28.0` tag (tags are now `vX.Y.Z`), so every trivy-images job failed at "Set up job" with "unable to find version 0.28.0" and no image was scanned — on main as well as on PRs. Pin the same release by commit (915b19b, 2024-10-15, signed, on upstream master) instead of a mutable tag. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
v0.28.0 still cannot run: its composite action references aquasecurity/setup-trivy@v0.2.1, and upstream removed that tag too. v0.36.0 (ed142fd, 2026-04-22, signed, on upstream master) pins its own nested actions by SHA (setup-trivy v0.2.6, actions/cache v5.0.5). Inputs are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release 2.4.5 (PATCH)
Chart version/appVersion, first-party GHCR images and production digests move to 2.4.5. No new Helm value; no third-party pin changes.
Fix
tools/calllogs oneevent: tools_callrecord withtool,tenant_id,status,elapsed_s,request_bytes,response_bytes. The sharedJsonFormatterdropped0values outside a short allowlist, so a denied or failed call (response_bytes: 0) was logged withoutresponse_bytes, andrequest_bytesvanished for empty arguments. Both are now kept.kubectl logs deploy/...read only one pod, so with two replicas it could miss its own call) and requires the audit fields on everytools_callrecord in the window, denied ones included.Commits
fix(platform): keep zero request/response byte counts intools_callaudit records (+ contract test, fails before the fix)test(tests): S-73 reads every MCP replica and checks every audit recordchore(platform): move to 2.4.5 (charts, image tags, ZelkorFROMbases, example charts re-vendorzelkor-agent2.4.5,THIRD_PARTY_NOTICESrow)chore(helm): pin production images to 2.4.5 digestschore(ci): pin trivy-action to the v0.28.0 commit SHAchore(ci): move trivy-action to v0.36.0, pinned by commit SHACI: image scanning was not running
Every
trivy-imagesjob had been failing at Set up job (onmaintoo): upstream removed the unprefixed0.28.0tag, and v0.28.0's ownaquasecurity/setup-trivy@v0.2.1reference is gone as well. The workflow now uses trivy-action v0.36.0 pinned by commit SHA (ed142fd, signed, on upstreammaster; it pins its own nested actions by SHA).With scanning working again, 7 of 8 images report no fixable CRITICAL.
zelkor-mcpreports CVE-2026-32871 (GHSA-vv7q-7jx5-f767, FastMCP OpenAPI provider SSRF) infastmcp 2.7.0. It is a transitive dependency ofmcp-server-qdrant==0.8.1(latest; pinsfastmcp==2.7.0). Zelkor does not use the affected code: the MCP servers are built on themcpSDK, not FastMCP; the Qdrant wrapper imports onlyQdrantConnectorand the embedding provider; in a runningmcp-qdrantcontainer those imports load nofastmcpmodule, andmcp-server-qdranthas no OpenAPI provider use. Present in earlier releases too (unscanned). Removing the package needs an image change, so it is not in this release.Verification
:2.4.5pushed for all 14 first-party images (none existed before).postgres__queryfollowed by S-73 fails on 2.4.4 and passes on 2.4.5. Regression slice on 2.4.5 (tenant auth, MCP tenant isolation, sandbox, ingress, gateway bypass, tool policy, example agent install + tenant isolation): 84 passed.Upgrade:
helm upgradethe platform chart. Agents need no change.🤖 Generated with Claude Code